<script lang="ts" setup>
import { inject } from 'vue';
import { AsyncDialogProvide } from './index';

defineOptions({
  name: 'OpenAsyncDialogError',
});

const asyncDialog = inject(AsyncDialogProvide);

asyncDialog?.setError();
</script>

<template>
  <div class="open-async-dialog-error">
    <AResult status="error" :title="$t('settings.component.dialog.error')" />
  </div>
</template>

<style lang="scss" scoped>
</style>
